package com.ruoyi.StarStudio.Utils;



import com.alibaba.fastjson2.JSON;
import com.alibaba.fastjson2.JSONObject;
import com.ruoyi.StarStudio.Entity.PanicBuyingOrders;
import com.ruoyi.StarStudio.Entity.UserInfo;
import com.ruoyi.StarStudio.Entity.UserInfoPostBean;
import com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OUTPeer;

import java.sql.Timestamp;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.util.TreeSet;

public class test0701 {
    public static void main(String[] args) throws Exception {
       /* Map<Integer, Integer> map = new HashMap<>();
        map.put(3,3);
        for (Map.Entry<Integer, Integer> entry : map.entrySet()) {
            if (entry.getKey() == 3){
                System.out.println("true" + entry.getValue());
            }
        }
        Timestamp timestamp = new Timestamp(new Date().getTime());
        System.out.println(timestamp);
        System.out.println(new Date().getTime());*/

        /*
        params.put("appId","ZYSC_YB");
        params.put("secert","123456");
        params.put("token","684971499c4f7eb7b0c891c94e567b1ef1d6cac92e72ffc9d1ed84b1bf3995da");
        params.put("idCard","51253419720212703X");
        String resp = HttpPostUtils.HttpPost(URL, params);
        JSONObject respObject = JSONObject.parseObject(resp);
        Object data = respObject.get("data");
        UserInfoPostBean userInfoPostBean = JSON.parseObject(data.toString(), UserInfoPostBean.class);
        System.out.println(userInfoPostBean);
        System.out.println(userInfoPostBean.getCardType());*/
        /*
        String token = HttpRequestUtils.getProvinceSystemToken();
        System.out.println(token);
        String resp = HttpRequestUtils.ProvinceSystemBeanAction(3051489, -5);
        System.out.println(resp);

        System.out.println(new Date().getTime());*/

//        String decrypt = DESedeUtils.decrypt("d8ad1b0201023bccb933216e53dae1aa", "6ccdb02c7d22038018ad5a69938560945998d369ab4ed838a540c79cba0ae24e");
//        System.out.println(decrypt);

//        System.out.println(new Timestamp(new Date().getTime()).toString().split(" ")[0]);

        TreeSet<String> treeSet = new TreeSet();
        treeSet.add("c");
        treeSet.add("a");
        treeSet.add("b");
        System.out.println(treeSet);

    }
}
